package com.propertree.mailer.bean;

public class EMailPartyInfo {

	private String emailId;
	private String userName;
	private String password;

	public EMailPartyInfo() {
	}

	public EMailPartyInfo(String id, String name, String pwd) {
		this.emailId = id;
		this.userName = name;
		this.password = pwd;
	}

	public String getEmailId() {
		return emailId;
	}

	public void setEmailId(String emailId) {
		this.emailId = emailId.trim();
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName.trim();
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("EMailAuth [emailId=").append(emailId).append(", userName=").append(userName)
				.append(", password=").append(password).append("]");
		return builder.toString();
	}

}
